import { useUser } from "@/hooks/useUser";
import { Select, SelectProps } from "antd";
import { useEffect } from "react";
type Props = {} & SelectProps<any>;
const App = (props: Props) => {
  const { ...rest } = props;
  const { userOptions } = useUser();
  useEffect(() => {}, []);
  return <Select options={userOptions} placeholder="请选择负责人" {...rest} />;
};
export default App;
